<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
	<p:menu style="width:200px" >
			<p:menuitem value="Administrador" url="/private/admin/home.jsf" />
		
			<p:menuitem value="Usuário" url="/private/user/home.jsf" />
		
		
	</p:menu>
	<h3>Tiered Menu</h3>
    <p:menu type="tiered" style="width:200px">
        <p:submenu label="Ajax Menuitems" icon="ui-icon ui-icon-refresh">
            <p:menuitem value="Save" actionListener="#{buttonBean.save}" update="messages" icon="ui-icon ui-icon-disk" />
            <p:menuitem value="Update" actionListener="#{buttonBean.update}" update="messages" icon="ui-icon ui-icon-arrowrefresh-1-w" />
        </p:submenu>
        <p:submenu label="Non-Ajax Menuitem" icon="ui-icon ui-icon-newwin">
            <p:menuitem value="Delete" actionListener="#{buttonBean.delete}" update="messages" ajax="false" icon="ui-icon ui-icon-close"/>
        </p:submenu>
        <p:submenu label="Navigations" icon="ui-icon ui-icon-extlink">
            <p:submenu label="Prime Links">
                <p:menuitem value="Prime" url="http://www.prime.com.tr" />
                <p:menuitem value="PrimeFaces" url="http://www.primefaces.org" />
            </p:submenu>
            <p:menuitem value="TouchFaces" url="#{request.contextPath}/touch" />
        </p:submenu>
    </p:menu>
</ui:composition>